import java.io.File;
import java.io.FilenameFilter;


public class VMGFilenameFilter implements FilenameFilter {
	
	
	public boolean accept(File file) {
		
		if(file.getName().contains(".vmg"))
			return true;
		else
		
		return false;
	}

	public boolean accept(File dir, String name) {
		if(name.contains(".vmg"))
			return true;
		else
		return false;
	}
	
}
